import request from '@/utils/request'

export const prefix = 'report';

// 查询模板设计列表
export function listTempletedesign(page,data) {
  return request({
    url: `/${prefix}/templetedesign/list`,
    method: 'post',
    params: page,
    data: data
  })
}

// 查询所有可填报模板列表
export function listCanfillTempletedesign() {
  return request({
    url: `/${prefix}/templetedesign/list/canfill`,
    method: 'get'
  })
}

// 查询模板设计详细
export function getTempletedesign(data) {
  return request({
    url: `/${prefix}/templetedesign/detail`,
    method: 'post',
    data: data
  })
}

// 修改模板设计
export function updateTempletedesign(data) {
  return request({
    url: `/${prefix}/templetedesign/edit`,
    method: 'post',
    data: data
  })
}

// 删除模板设计
export function delTempletedesign(data) {
  return request({
    url: `/${prefix}/templetedesign/remove`,
    method: 'post',
    data: data
  })
}
